package com.method.chongzai;



public class Demo02 {
    public static void main(String[] args) {
        int num =100;
        System.out.println(num);
        change(num);
        System.out.println(num);
        int[]arr={10,20,30,405,60};
        System.out.println(arr);
        System.out.println(arr[3]);
        change(arr);
        System.out.println(arr);
        System.out.println(arr[3]);
    }

   public static void change(int num) {
         num =200;
    }
    public static void change(int[] arr){
        arr[3]=40;
    }
}
